import java.util.*;

public class _09_CombineListsOfLetters {
	
	public static void main(String[] args) {
		
		Scanner inputCS = new Scanner(System.in);
		String firstInput = inputCS.nextLine();
		String secondInput = inputCS.nextLine();
		inputCS.close();
		
		String[] firstInputAsArray = firstInput.split(" ");
		StringBuilder firstAsSB = new StringBuilder();
		
		for (int i = 0; i < firstInputAsArray.length; i++) {
			
			firstAsSB.append(firstInputAsArray[i]);
		}
		
		String firstString = firstAsSB.toString();
		
		String[] secondInputAsArray = secondInput.split(" ");
		StringBuilder secondAsSB = new StringBuilder();
		
		for (int i = 0; i < secondInputAsArray.length; i++) {
			
			secondAsSB.append(secondInputAsArray[i]);
		}
		
		String secondString = secondAsSB.toString();
		
		System.out.println();
		
	}
}